package com.wrial.mall.member.feign;
/*
 * @Author  Wrial
 * @Date Created in 23:04 2020/5/1
 * @Description 会员优惠券服务
 */

import com.wrial.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

//需要调用的微服务名
@FeignClient("mall-coupon")
public interface CouponFeignService {

    // 写完整地址需要调用的方法名
    @RequestMapping("/coupon/coupon/member/list")
    public R memberCoupons();
}
